﻿using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StuInfoDAL;
using System.Data.SqlClient;

namespace StuInfoBLL
{
   public  class StuInfoListBLL
    {
        public static List<StuInfo> Select(string name = "")
        {
           return StuInfoListDAL.Select(name);
        }

        public static StuInfo Read(int id) {
            return StuInfoListDAL.Read(id);
        }

        public static int Delete(int id)
        {
            return StuInfoListDAL.Delete(id);
        }

        public static int Update(StuInfo info)
        {
            return StuInfoListDAL.Update(info);
        }

        public static int Add(StuInfo info)
        {
            return StuInfoListDAL.Add(info);
        }

    }
}
